<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model backend\modules\orders\models\OrderInfo */
/* @var $form yii\widgets\ActiveForm */
?>

<div class="order-info-form">

    <?php $form = ActiveForm::begin(); ?>

    <?= $form->field($model, 'order_id')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'order_sn')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'user_id')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'order_status')->textInput() ?>

    <?= $form->field($model, 'shipping_status')->textInput() ?>

    <?= $form->field($model, 'pay_status')->textInput() ?>

    <?= $form->field($model, 'consignee')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'country')->textInput() ?>

    <?= $form->field($model, 'province')->textInput() ?>

    <?= $form->field($model, 'city')->textInput() ?>

    <?= $form->field($model, 'district')->textInput() ?>

    <?= $form->field($model, 'address')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'zipcode')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'tel')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'mobile')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'email')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'best_time')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'sign_building')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'postscript')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'shipping_id')->textInput() ?>

    <?= $form->field($model, 'shipping_name')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'pay_id')->textInput() ?>

    <?= $form->field($model, 'pay_name')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'how_oos')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'how_surplus')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'pack_name')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'card_name')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'card_message')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'inv_payee')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'inv_content')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'goods_amount')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'shipping_fee')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'insure_fee')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'pay_fee')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'pack_fee')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'card_fee')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'money_paid')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'surplus')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'integral')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'integral_money')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'bonus')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'order_amount')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'from_ad')->textInput() ?>

    <?= $form->field($model, 'referer')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'add_time')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'confirm_time')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'pay_time')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'shipping_time')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'pack_id')->textInput() ?>

    <?= $form->field($model, 'card_id')->textInput() ?>

    <?= $form->field($model, 'bonus_id')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'invoice_no')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'extension_code')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'extension_id')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'to_buyer')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'pay_note')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'agency_id')->textInput() ?>

    <?= $form->field($model, 'inv_type')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'tax')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'is_separate')->textInput() ?>

    <?= $form->field($model, 'parent_id')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'discount')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'transaction_id')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'shopping_temp')->textarea(['rows' => 6]) ?>

    <?= $form->field($model, 'updated_time')->textInput() ?>

    <?= $form->field($model, 'comment_status')->textInput() ?>

    <?= $form->field($model, 'is_delete')->textInput() ?>

    <?= $form->field($model, 'order_check_money')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'order_user_money')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'order_should_check_money')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'is_without_pay')->textInput() ?>

    <?= $form->field($model, 'cancel_status')->textInput() ?>

    <div class="form-group">
        <?= Html::submitButton($model->isNewRecord ? Yii::t('app', 'Create') : Yii::t('app', 'Update'), ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>
    </div>

    <?php ActiveForm::end(); ?>

</div>
